FlexReport for .NET | ComponentOne
C1.WPF.Document Assembly / C1.WPF.Document Namespace / C1SortedList<TKey,TValue> Class / TryGetValue Method
The specified key.
The value corresponding to the key.

In This Topic
    TryGetValue Method (C1SortedList<TKey,TValue>)
    In This Topic
    Gets the value by specified key.
    Syntax
    'Declaration
     
    Public Function TryGetValue( _
       ByVal key As TKey, _
       ByRef value As TValue _
    ) As Boolean
    public bool TryGetValue( 
       TKey key,
       out TValue value
    )

    Parameters

    key
    The specified key.
    value
    The value corresponding to the key.

    Return Value

    True if the value was found in the collection; otherwise, false.
    See Also